<template>
  <a-space wrap>
    <WrsDialog ref="diaRef"></WrsDialog>
    <a-button type="primary" @click="btn1">获取formOne的数据</a-button>
    <a-button @click="btn2">给表单赋值</a-button>
    <a-button @click="btn3" type="dashed">Dashed Button</a-button>
    <a-button @click="btn4" type="text">Text Button</a-button>
    <a-button @click="btn5" type="link">Link Button</a-button>
  </a-space>

</template>
<script setup>
import { onMounted, ref, watch } from "vue";
import WrsDialog from "./components/WrsDialog.vue";
const diaRef = ref()
const btn1 = () => {
  diaRef.value.modalInit(2)
}
const btn2 = () => {
  diaRef.value.modalInit(1)
}
const btn3 = () => { }
const btn4 = () => { }
const btn5 = () => { }

</script>

<style>
</style>